package com.qscloud.cust.controller;


import com.qscloud.cust.entity.User;
import com.qscloud.cust.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author hr
 * @since 2021-04-14
 */
@RestController
@RequestMapping("/user")
public class UserController {

@Autowired
    private UserService userService;

@RequestMapping("/")
public User get(){
    return userService.queryOne();
}

}

